from fastapi import APIRouter

from .docs import custom_docs
from .user import router as user_router
from .dev import router as dev_router

from config import settings

api_routers = APIRouter(prefix=settings.url_prefix)

if settings.enable_test_router:
    api_routers.include_router(dev_router)

# api_routers.include_router(account_router)  # 用户中心

api_routers.include_router(user_router)  # 用户管理
# api_routers.include_router(role_router)  # 角色管理
# api_routers.include_router(access_router)  # 权限管理
